<?php if (!defined('BASEPATH')) exit('No direct script access allowed');

/**
 * Adminlog Controller
 * Build by Phuc Nguyen
 * Contact : nguyenvanphuc0626@gmail.com
 */

class Bank_model extends MY_Model{
	
	public function __construct(){
		parent::__construct();
		$this->table_name = 'book_bankinfo_customers';
	}
        
        public function insertBankInfo($params){
           $this->bank_model->create($params);
           $result = $this->db->affected_rows();
           if(!$result){
               die("Insert db ".$this->table_name.' fail!');
           }
           return $result;
        }
}